package com.tbit.uqbike.object.pojo;

import java.util.Date;

/**
 * 告警消息
 *
 * @author Leon
 * 2017年5月23日 下午1:54:38
 */
public class AlarmMsg {
    /**
     * 消息id
     */
    private String msgId;
    /**
     * 平台id
     */
    private Integer accountId;
    /**
     * 设备id
     */
    private Integer machineId;
    /**
     * 设备编号
     */
    private String machineNO;
    /**
     * 产生时间
     */
    private Date dt;
    /**
     * 告警类型
     */
    private Integer alarmType;
    /**
     * 告警扩展代码
     */
    private String alarmExCode;
    /**
     * 告警扩展内容
     */
    private String alarmExMsg;

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Integer getMachineId() {
        return machineId;
    }

    public void setMachineId(Integer machineId) {
        this.machineId = machineId;
    }

    public String getMachineNO() {
        return machineNO;
    }

    public void setMachineNO(String machineNO) {
        this.machineNO = machineNO;
    }

    public Date getDt() {
        return dt;
    }

    public void setDt(Date dt) {
        this.dt = dt;
    }

    public Integer getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(Integer alarmType) {
        this.alarmType = alarmType;
    }

    public String getAlarmExCode() {
        return alarmExCode;
    }

    public void setAlarmExCode(String alarmExCode) {
        this.alarmExCode = alarmExCode;
    }

    public String getAlarmExMsg() {
        return alarmExMsg;
    }

    public void setAlarmExMsg(String alarmExMsg) {
        this.alarmExMsg = alarmExMsg;
    }

    @Override
    public String toString() {
        return "AlarmMsg [msgId=" + msgId + ", accountId=" + accountId + ", machineId=" + machineId + ", machineNO=" + machineNO + ", dt=" + dt + ", alarmType=" + alarmType + ", alarmExCode=" + alarmExCode + ", alarmExMsg=" + alarmExMsg + "]";
    }


}
